<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: user.php 1062 2010-03-23 20:36:37Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/user.php $
*/


class User extends GeneralModel {

/******************************************************************************/

var $name = 'User';

var $belongsTo = array(
	'Group' => array('isRubric' => TRUE)
);

var $displayImage = 'avatar';
var $displayField = 'username';

var $order = array(
	'User.username' => 'ASC',
	'User.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

var $fieldInputSchema = array(
	'avatar' => array('params' => 'resize=crop&x=80&y=80')
);

/******************************************************************************/

}


?>